package org.springframework.test.factoryBean;

import org.springframework.context.annotation.Conditional;
import org.springframework.context.annotation.ConfigurationCondition;
import org.springframework.stereotype.Component;

/**
 * [简要描述]:
 * [详细描述]:
 *
 * @author ZouHaiBo
 * @version 1.0, 2021/7/22 16:23
 * @since JDK 1.8
 */
@Component
//@Conditional(value = MyCondition.class )
public class Student
{

	private String username;

	private String age;

	public String getUsername()
	{
		return username;
	}

	public void setUsername(String username)
	{
		this.username = username == null ? null : "".equals(username.trim()) ? null : username.trim();
	}

	public String getAge()
	{
		return age;
	}

	public void setAge(String age)
	{
		this.age = age == null ? null : "".equals(age.trim()) ? null : age.trim();
	}
}
